package com.xrc.T3;

import java.util.Arrays;

public class CatTest {
    public static void main(String[] args) {
        Cat tom=new Cat();
        tom.setAge(2);
        tom.setName("tom");
        tom.setColor("蓝色");

        Cat xh=new Cat();
        xh.setAge(5);
        xh.setName("xh");
        xh.setColor("花色");

        Cat jf=new Cat();
        jf.setAge(3);
        jf.setName("jf");
        jf.setColor("黄色");

        Cat[] sc={tom,xh,jf};

        System.out.println(Arrays.toString(sc));

    }
}
